// import check from './modules/check'
// import optimize from './modules/optimize'

import search from './modules/search'
import monitor from './modules/monitor'
import system from './modules/system'
/** name为路由配置name, 必须保证全局唯一*/

/**页面普通导航菜单 */
export const CENTER_MENU:RouteMenuItem[] = [
  {
    icon: 'home',
    isIconCss: false,
    className: 'has-bag',
    title: '管理模块',
    key: 'manage',
    children: [
      {
        icon: 'bs-icon-dashboard',
        isIconCss: true,
        title: 'Dashboard',
        key: 'dashboard',
        isLeaf: true,
        name: 'dashboard'
      },
      // ...check,
      ...search,
      // ...optimize
      ...monitor,
      ...system,
    ]
  }
]


/**额外需要权限中心控制的路由 */
export const EXTRA_AUTH_ROUTE:RouteMenuItem[] = []